package com.vegetable.modules.entity.outbound.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 更新销售出库单对冲状态PO
 * </p>
 *
 * @author Qoder
 * @since 2025-10-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UpdateHedgingStatePO对象", description="更新销售出库单对冲状态PO")
public class UpdateHedgingStatePO {

    @ApiModelProperty(value = "销售出库单ID", required = true)
    @NotNull(message = "销售出库单ID不能为空")
    private Long id;

    @ApiModelProperty(value = "对冲状态 0未对冲，1已对冲", required = true)
    @NotNull(message = "对冲状态不能为空")
    private Integer hedgingState;

    @ApiModelProperty(value = "备注")
    private String remark;
}
